const TokenKey = 'App-Token'

export function getToken() {
	return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
	return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
	return uni.removeStorageSync(TokenKey)
}

export function setDeviceId(data) {
	console.log("00000",data)
	return uni.setStorageSync("deviceId", data)
}
export function getDeviceId() {
	return uni.getStorageSync('deviceId')
}

export function removeDeviceId() {
	return uni.removeStorageSync("deviceId")
}
